<% @title = '登录页面' %>
<div class="container">

  <div class="row" id="pwd-container">
    <div class="col-md-4"></div>

    <div class="col-md-4">
      <section class="login-form">
        <%= form_tag sales_session_path, method: 'POST', class: 'form-signin', role: "login" do  %>
        <!-- <form method="post" action="#" role="login"> -->
          <input type="hidden" name="store_id" value="<%= @store_id %>">
          <input type="text" name="login_name" placeholder="Login name" required class="form-control input-lg" />

          <input type="password" class="form-control input-lg" name="password" placeholder="Password" required="" />


          <div class="pwstrength_viewport_progress"></div>


          <button type="submit" name="go" class="btn btn-lg btn-primary btn-block">登  陆</button>
          <p>
            没有账号？ <%= link_to "免费注册", new_sales_register_path(store_id: @store_id) %>
          </p>
          <div>
            <p class="help-block error-message" style="color: red;"> <%= notice %></p>
            <!-- <a href="#">Create account</a> or <a href="#">reset password</a> -->
          </div>
        <% end %>
        <!-- </form> -->
      </section>
      </div>

      <div class="col-md-4"></div>


  </div>
